/**
 * 
 */
package com.demo2do.boyle.backend.service.system;

import java.util.List;

import com.demo2do.boyle.common.entity.system.tag.Tag;
import com.demo2do.core.persistence.support.Filter;
import com.demo2do.core.service.GenericService;
import com.demo2do.core.web.resolver.Page;

/**
 * @author Leo
 *
 */
public interface TagService extends GenericService<Tag> {
    
    /**
     * @return the tag count
     */
    public int count();
    
    /**
     * 
     * @param filter
     * @return the filter list count
     */
    public int count(Filter filter);
    

	/**
     * list tags by page
     * 
     * @param page
     * @return
     */
    public List<Tag> list(Page page);
}
